package com.rnkrsoft.suyan.config.server.config.entity;

import com.rnkrsoft.framework.orm.PrimaryKey;
import com.rnkrsoft.framework.orm.jdbc.BaseEntity;
import com.rnkrsoft.framework.orm.jdbc.Comment;
import com.rnkrsoft.framework.orm.jdbc.StringColumn;
import com.rnkrsoft.framework.orm.jdbc.Table;
import lombok.*;
/**
 * Created by woate on 2019/6/24.
 */
@Data
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "VERSION_INFO", prefix = "TB")
@Comment("版本表")
public class VersionInfoEntity extends BaseEntity{
    @PrimaryKey
    @StringColumn(name = "VERSION_ID", nullable = false)
    @Comment("版本编号")
    String versionId;

    @StringColumn(name = "PROJECT_ID", nullable = false)
    @Comment("项目编号")
    String projectId;

    @StringColumn(name = "VERSION")
    @Comment("版本号")
    String version;
}
